'use client'
import React, {useEffect} from 'react';
import Header from "@/app/components/Header/Header";
import Tourlist from "@/app/components/TourList/TourList";
import {useTelegram} from "@/app/hooks/useTelegram";

export default function Home() {
  const {onToggleButton, tg} = useTelegram();

  useEffect(() => {
    tg.ready();
  }, [tg]);
  return (
      <><Header/><Tourlist/></>
  );
}
